

package com.demo.user.exception;


/**
 * @author xiexiaohu
 */
public class BizServiceException extends BaseException {
    private static final long serialVersionUID = 1L;


    /**
     * BizServiceException Constructor
     */
    public BizServiceException() {
        super();
    }


    /**
     * BizServiceException Constructor
     *
     * @param error
     */
    public BizServiceException(DisplayableError error) {
        super(error);
    }


    /**
     * BizServiceException Constructor
     *
     * @param error
     * @param message
     */
    public BizServiceException(DisplayableError error, String message) {
        super(error, message);
    }


    /**
     * BizServiceException Constructor
     *
     * @param error
     * @param message
     * @param cause
     */
    public BizServiceException(DisplayableError error, String message, Throwable cause) {
        super(error, message, cause);
    }

    public BizServiceException(DisplayableError error, Throwable cause) {
        super(error, error.getDisplayMsg(), cause);
    }

    /**
     * BizServiceException Constructor
     *
     * @param error
     * @param message
     * @param args
     */
    public BizServiceException(DisplayableError error, String message, Object[] args) {
        super(error, message, args);
    }

    public BizServiceException(DisplayableError error, Object[] args) {
        super(error, null, args);
    }
}
